using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;


namespace ProjectNoClue
{
    class TestPause : Screen
    {
        Vector2 position;
        public TestPause(ScreenManager sm) : base(sm)
        {
            this.IsDominant = true;
            //this.IsPopUp = true;
        }

        public override void Update(Microsoft.Xna.Framework.GameTime gameTime)
        {
            
        }

        public override void HandleInput(Microsoft.Xna.Framework.GameTime gameTime)
        {
            position = Input.MouseLocation;
            if (Input.FireClicked())
            {
                sm.RemoveScreen(this);
            }
        }

        public override void Draw(Microsoft.Xna.Framework.GameTime gameTime)
        {
            sm.sb.DrawString(sm.font, "PAUSE: " + position.ToString(), new Vector2(100, 100), Color.Red);
        }

        public override void UnloadContent()
        {
            //throw new Exception("The method or operation is not implemented.");
        }
    }
}
